﻿
using System;
using SqlSugar;
using Dora.Orm.Core.Domain.Entities;

namespace Dora.Services.AdminUser.Entities
{

    /// <summary>
    /// 大社产品类型/目的地保险产品默认排除供应商不绑定保险实体对象
    /// </summary>
    [SugarTable("org_insurance_supplier")]
    public class OrgInsuranceSupplierEntity : Entity<int>
    {
        #region model


        /// <summary>
        /// 默认绑定保险信息;org_insurance_setting主键
        /// </summary>
        public int SettingId { get; set; }

        /// <summary>
        /// 组织机构Id;社id
        /// </summary>
        public int OrgId { get; set; }

        /// <summary>
        /// 供应商Id;SRM的supplier_info的主键
        /// </summary>
        public int SupplierId { get; set; }

        /// <summary>
        /// 是否排除供应商所有区域;true时排除供应商所有区域 ,false按此供应商区域排除
        /// </summary>
        public bool IsExcludeSupplier { get; set; }
        /// <summary>
        /// 数据创建组团社Id
        /// </summary>
        public int SourceOrgId { get; set; }

        /// <summary>
        /// 是否删除;1是0否
        /// </summary>
        public bool IsDeleted { get; set; }

        #endregion
        #region extend
        #endregion
    }
}